package com.yuntsg.nnsfcp.service;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class LoadLicense {


    @PostConstruct
    public void getLicense() {
//        try {
//            ClassLoader loader = Thread.currentThread().getContextClassLoader();
//            InputStream in = LoadLicense.class.getClassLoader().getResourceAsStream("license.xml");
//            License aposeLic = new License();
//            aposeLic.setLicense(in);
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
    }
}
